package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.Agent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(@Param("agent") Agent record);

    int insertSelective(Agent record);

    Agent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Agent record);

    int updateByPrimaryKey(Agent record);

    List<Agent> selectAllForCustomerId(Integer id);
}